import jsonschema

json = {
    "success": True,
    "code": 10000,
    "message": "操作成功",
    "money": 6.66,
    "address": None,
    "data": {
        "name": "tom"
    },
    "luckyNumber": [6, 8, 9]
}

shcema1 = {
    "type":"object",
    "properties":{
        "success":{"type":"boolean"},
        "code":{"const":10000},
        "money":{"const":6.66},
        "address":{"type":"null"},
        "data":{"type":"object"},
        "luckyNumber":{"type":"array"}
    },
    "required":["success","code","money","address","data","luckyNumber"]
}
print(jsonschema.validate(instance=json, schema=shcema1))